<p>
    <label>Tên thiết bị <b style="color: red">(*)</b></label>
    <span>
        <input class="w99" id="namedevice" name="namedevice" type="text" value="<?php echo $data->namedevice ?>">
    </span>
</p>
<p>
    <label>Mac thiết bị <b style="color: red">(*)</b></label>
    <span>
        <input class="w99" id="mac" name="mac" type="text" value="<?php echo $data->mac ?>">
    </span>
</p>
<p>
    <label>Nasid thiết bị <b style="color: red">(*)</b></label>
    <span>
        <input class="w99" id="nasid" name="nasid" type="text" value="<?php echo $data->nasid ?>">
    </span>
</p>
<p>
    <label>Version hotspot <b style="color: red">(*)</b></label>
    <span>
        <input class="w99" id="version" name="version" type="text" value="<?php echo $data->version ?>">
    </span>
</p>
<p>
    <label>Nhóm mạng <b style="color: red">(*)</b></label>
    <span>
        <?php echo $fview->selectOption($networkgroup, @$data->network_group ? @$data->network_group : $this->input->post('network_group'), '', 'network_group', 'network_group', 0, 'style="width: 100%;"'); ?>
    </span>
</p>

<p>
    <label>Địa điểm <b style="color: red">(*)</b></label>
    <span>
        <?php echo $fview->selectOption($place, @$data->id_address ? @$data->id_address : $this->input->post('place'), '', 'place', 'place', 0, 'style="width: 100%;"'); ?>
    </span>
</p>
<p>
    <label>File cấu hình ( .Zip ) <b style="color: red">(*)</b></label>
    <span>
        <input type="file" class="w99" id="fileconfig" name="fileconfig" />
        <br /><br /><b>Link: </b>
        <a href="<?php echo site_url() . 'public/' . $data->linkupdate ?>">
            <?php echo $data->linkupdate ?>
        </a>
    </span>
</p>

<p>
    <label>Trạng thái <b style="color: red">(*)</b></label>
    <span>
        <?php echo $fview->selectOption(array('1' => 'Hoạt động', '0' => 'Không hoạt động'), @$data->active ? @$data->active : $this->input->post('active'), 'form-control', 'active', 'active', 0, 'style="width: 100%;"'); ?>
    </span>
</p>
<p>
    <label>&nbsp;</label>
    <span>
        <input type="button" id="saveConfig" value="Lưu lại">
        <input type="reset" value="Quay lại">
    </span>
</p>